package Code.ExtendDemo.Test2;

public class ChineseDog extends Dog{
    public ChineseDog() {
    }

    public ChineseDog(String name) {
        super(name);
    }

    @Override
    public void eat() {
        System.out.println(super.getName()+"吃剩饭");
    }
}
